package com.tensquare.usr.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.tensquare.usr.pojo.Admin;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface AdminDao extends BaseMapper<Admin> {
    @Select("SELECT * from tb_admin where loginname=#{loginName}")
    public Admin findByLoginName(String loginName);
}
